package com.hnas.api.dto;

import java.io.Serializable;

/**
 * 接口返回基础类
 * 
 * @author 吴斯音
 *
 */
public class DTOApiResponse implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -46158704046965348L;
	private String code;// 结果代码
	private String errMsg;// 结果描述
	private String version;// 请求版本
	private DTOResult result;// 结果对象
	private String key;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public DTOResult getResult() {
		return result;
	}

	public void setResult(DTOResult result) {
		this.result = result;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

}
